home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / comm / xeno / filetools.lha / X-FileTools.readme
Encoding:
Text File  |  1995-04-17  |  7.9 KB  |  254 lines

  1.  
  2.                               'X-FileTools Package'
  3.                                ~~~~~~~~~~~~~~~~~~~
  4.                               ©1995 by Ron Klinkien
  5.  
  6.  
  7.                     16 april 1995, Sliedrecht, The Netherlands.
  8.  
  9. Some Words:
  10. ~~~~~~~~~~
  11.  
  12. Hello, this time I grabbed all of my xenolink file tools together and recompiled
  13. them with SAS/C 6.55 for Xenolink 1.95. Some are new, others are enhanced.
  14.  
  15. As always they are public domain and you can do with it whatever you want, except
  16. selling them for loads of money without sharing it with me ;) ...
  17.  
  18. I do not take any responsibility regarding any possible damage that can occure
  19. when using these tools on your filebase/hd ...
  20.  
  21. I have used them succesfully to move/edit/delete more than 8000 files when I was
  22. adapting my BBS setup to work as an semi-automatic aminet-mirror ...
  23.  
  24. The following tools are all small cli-commands which you can use from shells and/or
  25. scripts/diskmaster/dopus/whatever ...
  26.  
  27. You can type only the filename if you want to know their syntax (they _don't_ start
  28. deleting/changing anything without any arguments ... which is quite nice ;)
  29.  
  30. Now some small info on them:
  31.  
  32. ----------------------------------------------------------------------------------
  33.  
  34. BulkFile V1.00: ( formerly known as RBulk )
  35. ~~~~~~~~~~~~~~
  36.  
  37. The best and smallest FileBulker for Xenolink! Ahum. :)
  38.  
  39. --- Syntax: ---
  40.  
  41. BulkFile FILEORDIR/A, S=SECTION/A, U=UPLOADER/K, D=DESCRIPTION/F
  42.  
  43.  
  44. -- Examples: --
  45.  
  46. BulkFile DH3:NewStuff S=14  ( Uploads whole directory Newstuff to Section #14  )
  47.  
  48. BulkFile DH1:X-FileTools.lha S=10 U="Ron Klinkien" D=This is a great new package!
  49. ( Uploads file NewFile.lha to Section #10, uploader and Description user defined )
  50.  
  51. -- More Info: -
  52.  
  53. So, you can supply one filename to bulk one file, or a directory name to upload a
  54. complete directory in one blow...! ( So Be carefull! )
  55.  
  56. If you don't supply a file description, the filecomments will be used (if avail. )
  57. else < No Description Available ... > will be used.
  58.  
  59. If you don't supply a Uploader 'BulkFile' will be used.
  60.  
  61. One thing. BulkFile doesn't move files to their filecat directory.
  62. So if you bulk-upload them from another directory than their filecat directory
  63. copy them to the right dir after you bulked them to a filesection.
  64.  
  65. ( U can check your filebase on lost files with ChkFile, more on this later ... )
  66.  
  67. ----------------------------------------------------------------------------------
  68.  
  69. DelFile V1.01:
  70. ~~~~~~~~~~~~~
  71.  
  72. Small command to delete file(s) from the xenolink filecatalogue and/or harddisk.
  73. There is an option to keep the physical file on your hd.
  74.  
  75. --- Syntax: ---
  76.  
  77. DelFile FILE/A, K=KEEPFILE/S
  78.  
  79. -- Examples: --
  80.  
  81. DelFile oldfile.lha      ( to delete filecat entry AND file from disk )
  82. DelFile oldfile.lha K    ( to delete filecat entry but keep file on disk )
  83.  
  84. -- More Info: -
  85.  
  86. You can also use it from DiskMaster 2.1 with this entry in S:Startup.DM:
  87.  
  88. --- cut ---
  89.  
  90. AddCmd DelFile, 30, StdIO "CON:0/12/640/80/DelFile Output...";
  91.                   external XENOLINK:Utilities/3rdParty/DelFile %s;Wait;StdIO Close
  92. --- cut ---
  93.  
  94. ----------------------------------------------------------------------------------
  95.  
  96. CommFile V1.00: ( formerly known as SetDOSComment )
  97. ~~~~~~~~~~~~~~
  98.  
  99. Do you have the same problem as me, that a lot of your files on disk do not have
  100. their DOS FileComments filled anymore? Due to some strange working copies of
  101. XYZMove or Xenolink V1.90 they have dissapeared after a file move ...
  102.  
  103. Then this is the tool for you..
  104.  
  105. It picks the FileDescription from the BBS and puts it back in the DOS FileComment
  106. again. (ofcourse only the first 80 chars, since ADOS doesn't support more)
  107.  
  108. --- Syntax: ---
  109.  
  110. CommFile FILE/A
  111.  
  112. -- More Info: -
  113.  
  114. You can also use it from DiskMaster 2.1 with this entry in S:Startup.DM:
  115.  
  116. --- cut ---
  117.  
  118. AddCmd CommFile, 30, StdIO "CON:0/12/640/110/CommFile Output...";
  119.                   external XENOLINK:Utilities/3rdParty/CommFile %s;Wait;
  120.                   StdIO Close
  121. --- cut ---
  122.  
  123. ----------------------------------------------------------------------------------
  124.  
  125. ChkFile V1.00: ( formerly known as CheckFileCat )
  126. ~~~~~~~~~~~~~
  127.  
  128. Did you have had some small HD crashes lately and wonder if all the files in your
  129. filecatalogue are still on your HD?
  130. Then you can use this tool to check it ...
  131.  
  132. --- Syntax: ---
  133.  
  134. ChkFile S=SECTION/A,SIZE=CHKSIZE/S,DEL=DELFROMDISK/S
  135.  
  136.  
  137. -- Examples: --
  138.  
  139. ChkFile S=10      ( check filearea 10 for files on disk )
  140. ChkFile S=10 DEL  ( same, but also delete filecat entries for files not on disk )
  141. ChkFile S=20 SIZE ( check files in area 20 on incorrect filelength in filecat )
  142.  
  143. ----------------------------------------------------------------------------------
  144.  
  145. MoveFile V1.00: ( new command )
  146. ~~~~~~~~~~~~~~
  147.  
  148. Move files from one file section to another.
  149.  
  150. --- Syntax: ---
  151.  
  152. MoveFile FILE/A,S=SECTION/A
  153.  
  154. -- Examples: --
  155.  
  156. MoveFile test.lha S=20   ( move file test.lha to section 20 )
  157.  
  158.  
  159. Nothing more to tell about it really ... ;)
  160.  
  161. ----------------------------------------------------------------------------------
  162.  
  163. RenFile V1.00: ( new command )
  164. ~~~~~~~~~~~~~
  165. Thanks to Tommy Green for his ReLinkFile() routine!
  166.  
  167.  
  168. With this command you can rename your files ( on disk and in filecat ).
  169.  
  170. --- Syntax: ---
  171.  
  172. RenFile FROM/A,TO/A
  173.  
  174. -- Examples: --
  175.  
  176. RenFile wrongname.lha goodname.lha
  177.  
  178. Note: It only renames the filename in your filecat and the physical file on disk.
  179.       The upload date/time and other values in the filecat are not altered.
  180.  
  181. Any questions left? ;)
  182.  
  183. ----------------------------------------------------------------------------------
  184.  
  185. AmiFile V1.00: ( new command )
  186. ~~~~~~~~~~~~~
  187.  
  188. This is one of those utils that you only need to program and run once, but still
  189. saves a hell of alot of time ;)
  190.  
  191. If you want to alter your filebase to setup an aminet mirror, ( like I did ) but
  192. are wondering how to configure all those 175+ file areas, this is the tool for
  193. you ...
  194.  
  195. It uses one config file 'AmiFile.map' and generates two files 'AmiFile.file' and
  196. 'AmiFile.init'.
  197.  
  198. AmiFile.map looks like this:
  199. --- cut ---
  200. 61 biz/demo      Demo versions of commercial software
  201. 62 biz/misc      Misc business type soft
  202. --- cut ---
  203. ^     ^             ^
  204. |     |             Description from aminet TREE file
  205. |     Path of aminet tree, so you get MIRROR:biz/demo/ etc.
  206. Number of your new file area
  207.  
  208. The first output file 'AmiFile.file' can be joined with your current File.config.
  209. ( it contains all the new file areas in the same format as your current config )
  210. It uses MIRROR: as base assign, if you want to use another simply search/replace
  211. this with your favorite editor ofcourse ...
  212.  
  213. The second output file AmiFile.init' is an script to initialise all those areas.
  214. ( you can execute it, after double checking it's contents that is!!! )
  215.  
  216. Make a backup of your XENOLINK:FileCat/ dir before executing these ( if you have
  217. mistyped an areanumber in AmiFile.map a current filearea can be overwritten!!! )
  218.  
  219. --- Syntax: ---
  220.  
  221. AmiFile 
  222.  
  223.  
  224. -- More Info: -
  225.  
  226. Make sure you have edited AmiFile.map to suit your needs before making the final
  227. files ...
  228.  
  229. I'm currently writing arexx scripts and menu files to complete this aminet mirror
  230. software ...
  231.  
  232. But if you cannot wait check out MirrorManager on aminet! It can save you alot of
  233. work ...
  234.  
  235. ----------------------------------------------------------------------------------
  236.  
  237. To contact me:
  238. ----------------------------------------------------------------------------------
  239.  *** The Amiga Hardware BBS - Aminet Mirror - 1.6 Gig - 2 lines - ISDN - News ***
  240.  ***  Line 1: +31-1840-99935  (USR DStd V34, VFC, HST & ISDN 38K4/64K now!)   ***
  241.  ***             Line 2: +31-1840-90323  (USR DStd V32Bis, HST)               ***
  242.  *** FidoNet: 2:285/302.0  e-mail: ron@ahwbbs.xs4all.nl  NLANet: 14:100/103.0 ***
  243. ----------------------------------------------------------------------------------
  244.  
  245. B   : Butt-head, this turd won't come out of my butt!
  246. BH  : Have you tried using manners?
  247. B   : Oh yeah.  Please, please come out of my butt!
  248. Turd: Plop!
  249. B   : Thank you, drive through!
  250.  
  251.                               --- Beavis & Butt-head.
  252.  
  253. Greetz, Ron Klinkien.
  254.